App.controller('topNavbarController',function($scope, $state, API){
	
	$scope.logout = function(){
		
		API.call('login.do?logout').then(function(data){
			
			$state.go('page.login');
		});
	};
});